#ifndef __CSYSTEM_H__
#define __CSYSTEM_H__
#include "CEntity.h"
#include <list>
#include "CForceRegister.h"
namespace Core
{
class CSystem
{
public:
  static CSystem* getInstance();
  static void destroy();
  void add(CEntity* pEnt);
  void update(float dT);
  void clean();
private:
  CSystem();
  ~CSystem();
  static CSystem* pInstance;
  std::list<CEntity*> entities;
  CForceRegister * forceRegistrations;
};

}


#endif